<?php

global $header, $links, $meta_enc;
//$title=$front_params["title"];

//echo 'nyoo'.$title.'nyoo';
require("/srv/http/scrap/conf.php");

// html data
function display_front($params) {

$title=$params["tabtitle"];
$srvp=$GLOBALS['docroot'];
$cssp=$srvp.'resources';
$sty=$srvp.$params["stylesheet"];
$caption=$params["caption"];
$content1=$params["content1"];
$mainsprite=$srvp.$params["mainsprite"];
$backsprite=$srvp.$params["backsprite"];
$ico=$GLOBALS['ico'];
#echo $ico;
#$junk=$params["junk"];

//echo $title.$sty;
echo <<<EOT

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

<html>

<head>
<title>$title</title>

<link rel="copyright" href="" />

<link rel="shortcut icon" href="$ico" />

<link rel="stylesheet" type="text/css" href="$sty" />
<link rel="stylesheet" type="text/css" href="$cssp/css/font-caudex.css" />
<link rel="stylesheet" type="text/css" href="$cssp/css/font-ctcl.css" />

<meta http-equiv="content-type" content="text-html; charset=utf-8">

</head>


<body>

<img src="$backsprite" width="100%" />

<div id="header">
	<div id="titletext">
	$caption
	</div>
</div>

<div id="chara">
	<img src="$mainsprite" height="100%" />
</div>

<div id="content1">
	$content1
</div>

</body>


</html>
EOT;
}

?>
